package com.woniuxy.api;

import com.woniuxy.common.Result;
import com.woniuxy.form.RbacPermissionRoleForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "user",contextId = "rbacPermissionRole")
public interface RbacPermissionRoleApi {

    /**
     * 角色授权
     * @param form
     * @return
     */
    @PostMapping("/boss/roleAuthorization")
    Result roleAuthorization(@RequestBody RbacPermissionRoleForm form);
}
